home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ IE Outlook Express 3.xpl
< prev
next >
Wrap
Text File
|
1999-07-17
|
2KB
|
68 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="1"
"COUNT"="1"
"UIPATH"="Internet\Outlook Express"
"NAME"="Window Title"
"LANGUAGE"="VBScript"
"TEXT 1"="Title"
"DESCRIPTION 1"="You can change the title of the Outlook Express window here."
"DESCRIPTION 2"="To have to original title again, clear the field and press "Apply"."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.4"
"COMMENT 2"="Thanks to Maxwell <maxwello@hotpop.com> (again!) for his tips about OE5."
sValPath=""
sP1="HKCU\Software\Microsoft\Outlook Express\"
sP2="HKCU\Identities\Last User ID"
sValue="WindowTitle"
Sub Plugin_Initialize
'OK, let's have a look if we are running IE5...
s=RegReadValue(sP2)
if IsEmpty(s)=false then
'OK - we have a value - check if we can find OE
sValPath="HKCU\Identities\" & s & "\Software\Microsoft\Outlook Express\5.0\"
If RegPathExists(sValPath) then
'OE5 !
sValPath=sValPath & sValue
else
sValPath=sP1 & sValue
end if
else
sValPath=sP1 & sValue
end if
s=RegReadValue(sValPath)
SetUIElement 1,s
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
if len(s)=0 then
'If values exists, delete it
s=RegReadValue(sValPath)
if IsEmpty(s)=false then Call RegDeleteValue(sValPath)
else
Call RegWriteValue(sValPath,s,1)
end if
End Sub
Sub Plugin_Terminate
End Sub